using System;
using System.Drawing;
#if !WINFORMS
  using System.Web.UI;
#else
using System.Windows.Forms;
using Control = System.Windows.Forms.Control;
#endif

namespace OnOne.Lib
{
  #if WINFORMS
    public struct TErroProv
    {
      public Control _Control;
      public String sMensagem;
    }
  #endif

  public struct TUser
  {
    public Int16 iUserID;
    public String sUser;
    public String sPass;
    public String sGroup;
  }

  public struct TDirectory
  {
    public String sDirApp;
    public String sDirConf;
  }

  public struct TReturn
  {
    public String sReturn;
    public Boolean bReturn;
    public Int32 iReturn;
    public String sMensagem;
    public Bitmap Imagem;
  }


  public struct TLista
  {
    public int iValue;
    public String sValue;
  }

  public enum EnumControlPos
  {
    PosLeftIn,
    PosRightIn,
    PosTopInIn,
    PosBottonIn,
    PosLeftTopIn,
    PosLeftBottonIn
  }

  public enum EnumTypeDocument
  {
    pCPF,
    pCNPJ
  }

  public enum EnumTypeData
  {
    eText,
    eImage
  }

  public enum EnumDRMove
  {
    mvFirst,
    mvPrior,
    mvNext,
    mvLast,
    mvPosition
  }

}